package com.fyqz.monitor;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author v-taohuang
 * @date 3:33 PM 2020/3/9
 */
@SpringBootApplication
@EnableAdminServer
@EnableDiscoveryClient
@RestController
public class FyqzMonitorApplication {

    @RequestMapping("/")
    public String index() {
        return "hello fyqz-monitor";
    }
    public static void main(String[] args) {

        SpringApplication.run(FyqzMonitorApplication.class);
    }

}
